package com.atguigu.oss;

import com.atguigu.oss.utill.ConstantPropertiesUtils;
import com.google.gson.Gson;
import com.qiniu.common.QiniuException;
import com.qiniu.http.Response;
import com.qiniu.storage.Configuration;
import com.qiniu.storage.Region;
import com.qiniu.storage.UploadManager;
import com.qiniu.storage.model.DefaultPutRet;
import com.qiniu.util.Auth;
import org.junit.Test;

/**
 * @author: He Wentao
 * @date: 2022/8/20 13:26
 */
public class test {

    @Test
    public void test1(){
        String url ="http://oss.hewentao.tk/img/388d03a0483245eaabd8695b1c7e5345.jpg";
        System.out.println(url.substring("http://oss.hewentao.tk/".length()));
    }
}
